package com.wanxi.springboot;

import com.wanxi.springboot.dao.UserDao;
import com.wanxi.springboot.entity.UserEntity;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class UserTestFindById {
    @Autowired
    private UserDao userDao;
    @Test
    public void testFindById(){
        UserEntity userEntity =userDao.findById(1);
        System.out.println(userEntity);
    }
}
